﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Web.SystemLogin.Models
{
    [DataContract]
    public class User
    {

        public User()
        {

        }

        #region Public Properties

        /// <summary>
        /// 当前会话ID
        /// </summary>
        [DataMember]
        public string SessionID
        {
            get;
            set;
        }

        /// <summary>
        /// 用户身份ID
        /// </summary>
        [DataMember]
        public string User_ID
        {
            get;
            set;
        }
        /// <summary>
        /// 用户身份姓名
        /// </summary>
        [DataMember]
        public string User_Name
        {
            get;
            set;
        }
        /// <summary>
        /// 用户真实ID
        /// </summary>
        [DataMember]
        public string Real_ID
        {
            get;
            set;
        }
        /// <summary>
        /// 用户组织机构ID
        /// </summary>
        [DataMember]
        public string ORG_ID
        {
            get;
            set;
        }

        /// <summary>
        /// 身份登陆ID
        /// </summary>
        [DataMember]
        public string Login_ID
        {
            get;
            set;
        }

        /// <summary>
        /// 域密码
        /// </summary>
        [DataMember]
        public string Login_Pwd
        {
            get;
            set;
        }

        /// <summary>
        /// 上次登陆时间
        /// </summary>
        [DataMember]
        public DateTime Last_Login_Time
        {
            get;
            set;
        }
        /// <summary>
        /// 这次登陆时间
        /// </summary>
        [DataMember]
        public DateTime This_Login_Time
        {
            get;
            set;
        }

        /// <summary>
        /// 用户所有属单位的名称除一级单位
        /// </summary>
        [DataMember]
        public string All_Org_Name
        {
            get;
            set;
        }
        /// <summary>
        /// 用户所有属单位的名称
        /// </summary>
        [DataMember]
        public string Org_Name
        {
            get;
            set;
        }

        /// <summary>
        /// 单位的全宗号
        /// </summary>
        [DataMember]
        public string Org_FullFondsNum
        {
            get;
            set;
        }
  
        #endregion
        /// <summary>
        /// 用户真实身份姓名授权用户名称
        /// </summary>
        [DataMember]
        public string Real_Name
        {
            get;
            set;
        }

        /// <summary>
        /// 登陆IP
        /// </summary>
        [DataMember]
        public string LoginIp
        {
            get;
            set;
        }

        /// <summary>
        /// 客户端平台
        /// </summary>
        [DataMember]
        public string LoginPatform
        {
            get;
            set;
        }

        /// <summary>
        /// 登陆的浏览器
        /// </summary>
        [DataMember]
        public string LoginBrowers
        {
            get;
            set;
        }
    }
}
